﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WarnMaster.Master" AutoEventWireup="true"
    CodeBehind="water.aspx.cs" Inherits="QunYing.Web.market.water" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style>
    /* 表格数据显示样式2 */
.browser2
{
	width: 100%;
	margin: auto;
	border-collapse: collapse;
	margin: 10px 10px 10px 10px;
	float: left;
}
.browser2 th
{
	border-bottom: 1px solid #CEEBF9;
	background-color: #E2F2FE;
	padding: 2px 0px;
	padding-left: 5px;
	color: #006699;
	text-align: center;
}
.browser2 th, tr, td
{
	border: 1px solid #9DD5F9;
	height: 26px;
	text-align: left;
	padding-left: 5px;
}
/* 空层 */
.blank
{
	width: 185px;
	margin-right: 10px;
	margin-left: 6px;
	float: left;
}
.blank2
{
	width: 280px;
	margin-right: 20px;
	margin-left: 5px;
	float: left;
}
.search
{
    margin-bottom:10px;
    font-size:14px;
    }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <div id="main">
        <div class="search">
        水族箱：
            <asp:DropDownList ID="ddlDevice" runat="server" Width="170px">
            </asp:DropDownList>
            <asp:Button ID="btnQuery" runat="server" Text="查询" OnClick="btnQuery_Click" />
            <span style="margin-left: 50px;">环境数据接收时间：</span><asp:Label ForeColor="blue" ID="lblTime" runat="server"
                Text=""></asp:Label>
        </div>
        <div class="index_box" style="min-height: 180px;">
            <h2>
                <span><strong>水族</strong>环境</span></h2>
                    <div class="blank">
                        <table class="browser2">
                            
                            <tbody>
                            </tbody>
                            <thead>
                                <tr>
                                    <th width="103">
                                        水位告警
                                    </th>
                                    <td width="85">
                                        <asp:Label ID="lblShuiWei" runat="server" Text="有"></asp:Label>
                                    </td>
                                </tr>
                            </thead>
                            <thead>
                                <tr>
                                    <th width="103">
                                        水温告警
                                    </th>
                                    <td width="85">
                                        <asp:Label ID="lblShuiWen" runat="server" Text="有"></asp:Label>
                                    </td>
                                </tr>
                            </thead>
                            <thead>
                                <tr>
                                    <th width="103">
                                        水循环告警
                                    </th>
                                    <td width="85">
                                        <asp:Label ID="lblXunHuan" runat="server" Text="有"></asp:Label>
                                    </td>
                                </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="blank">
                        <table class="browser2">
                            <thead>
                                <tr>
                                    <th width="103">
                                        PH告警
                                    </th>
                                    <td width="85">
                                        <asp:Label ID="lblPH" runat="server" Text="有"></asp:Label>
                                    </td>
                                </tr>
                            </thead>
                            <tbody>
                            </tbody>
                            <thead>
                                <tr>
                                    <th width="103">
                                        ORP告警
                                    </th>
                                    <td width="85">
                                        <asp:Label ID="lblORP" runat="server" Text="有"></asp:Label>
                                    </td>
                                </tr>
                            </thead>
                          <%--  <thead>
                                <tr>
                                    <th width="103">
                                        温控设备告警
                                    </th>
                                    <td width="85">
                                        <asp:Label ID="lblWenKong" runat="server" Text="有"></asp:Label>
                                    </td>
                                </tr>
                            </thead>--%>
                            <thead>
                                <tr>
                                    <th width="103">
                                        氧循环告警
                                    </th>
                                    <td width="85">
                                        <asp:Label ID="lblYang" runat="server" Text="有"></asp:Label>
                                    </td>
                                </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="blank">
                        <table class="browser2">
                         <%--   <thead>
                                <tr>
                                    <th width="103">
                                        钙反应器告警
                                    </th>
                                    <td width="85">
                                        <asp:Label ID="lblGai" runat="server" Text="有"></asp:Label>
                                    </td>
                                </tr>
                            </thead>--%>
                            <tbody>
                            </tbody>
                           <%-- <thead>
                                <tr>
                                    <th width="103">
                                        反硝器告警
                                    </th>
                                    <td width="85">
                                        <asp:Label ID="lblFanXiao" runat="server" Text="有"></asp:Label>
                                    </td>
                                </tr>
                            </thead>--%>
                           <%-- <thead>
                                <tr>
                                    <th width="103">
                                        蓄电池告警
                                    </th>
                                    <td width="85">
                                        <asp:Label ID="lblDianChi" runat="server" Text="有"></asp:Label>
                                    </td>
                                </tr>
                            </thead>--%>
                            <thead>
                                <tr>
                                    <th width="103">
                                        温度传感器告警
                                    </th>
                                    <td width="85">
                                        <asp:Label ID="lblChuanGan" runat="server" Text="有"></asp:Label>
                                    </td>
                                </tr>
                            </thead>
                            <thead>
                                <tr>
                                    <th width="103">
                                        停电告警
                                    </th>
                                    <td width="85">
                                        <asp:Label ID="lblTingDian" runat="server" Text="有"></asp:Label>
                                    </td>
                                </tr>
                            </thead>
                        </table>
                    </div>
                </div>
                
         <div class="clearfloat"></div>

        <div class="index_box" style="min-height: 120px;">
                <h2>
                    <span><strong>环境</strong>参数</span></h2>
                <div class="blank">
                        <table class="browser2">
                            <thead>
                                <tr>
                                    <th width="103">
                                        温度</th>
                                    <td width="85">
                                        <asp:Label ID="lblWenDu" runat="server" Text="322"></asp:Label>
                                    </td>
                                </tr>
                            </thead>
                            <thead>
                                <tr>
                                    <th width="103">
                                        蓄电池电压</th>
                                    <td width="85">
                                        <asp:Label ID="lblDY" runat="server" Text="322"></asp:Label>
                                    </td>
                                </tr>
                            </thead>
                        </table>
                    </div>
               <div class="blank">
                        <table class="browser2">
                            <thead>
                                <tr>
                                    <th width="103">
                                        PH</th>
                                    <td width="85">
                                        <asp:Label ID="lblPHValue" runat="server" Text="444"></asp:Label>
                                    </td>
                                </tr>
                            </thead>
                            <tbody>
                            </tbody>
                          <%--  <thead>
                                <tr>
                                    <th width="85">
                                        钙反应器PH值
                                    </th>
                                    <td width="87">
                                        <asp:Label ID="lblGaiPH" runat="server" Text="444"></asp:Label>
                                    </td>
                                </tr>
                            </thead>--%>
                        </table>
                    </div>
                      <div class="blank">
                        <table class="browser2">
                            <thead>
                                <tr>
                                    <th width="103">
                                        ORP</th>
                                    <td width="85">
                                        <asp:Label ID="lblORPValue" runat="server" Text="322"></asp:Label>
                                    </td>
                                </tr>
                            </thead>
                            <tbody>
                            </tbody>
                          <%--  <thead>
                                <tr>
                                    <th width="85">
                                        钙反应器PH值
                                    </th>
                                    <td width="87">
                                        <asp:Label ID="lblGaiPH" runat="server" Text="444"></asp:Label>
                                    </td>
                                </tr>
                            </thead>--%>
                        </table>
                    </div>
            </div>
    </div>
    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
